luci-proto-wireguard: Hide the QR code parent dialogue button row via styling
authorPaul Donald <[email protected]>
Tue, 28 Oct 2025 16:36:53 +0000 (17:36 +0100)
committerPaul Donald <[email protected]>
Tue, 28 Oct 2025 16:36:53 +0000 (17:36 +0100)
commit80a0abb54fb91612ffa5ca55058a846b6e9a8c84
tree088cf1c7137ecbcd95bca0a16daa40eb870684fe
parent87375a5cf045ac7891eca474919e9e185c734cc3
luci-proto-wireguard: Hide the QR code parent dialogue button row via styling

Previously, the render code attempted to add the class "hidden" to the button
row, the button row which can have a persistent visibility style applied via CSS
so the "hidden" class attribute was overridden. Set the style.display of the row
instead which now hides the button row.

Signed-off-by: Paul Donald <[email protected]>
protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js